import Login from './components/account/Login.vue';
import NotFound from './components/404/NotFound.vue';
import Home from './components/Home.vue';
import Index from './components/index/index.vue';
import member2 from './components/member/member2.vue';
import member from './components/member/member.vue';
const routes = [
    { path: '/', component: Login, name: 'Login' },
    { path: '/home', component: Home,
        children: [
            { path: '', component: Index, name: 'Home/Index' },
            { path: 'member', component: member, name: 'Home/Member' },
            { path: 'member2', component: member2, name: 'Home/Member2' },
            { path: '*', component: NotFound }
        ] },
    { path: '*', component: NotFound }
];

export default routes;